import Layout from '@/layout'
const router = [{
        path: '/login',
        component: () =>
            import ('@/views/login/index'),
        hidden: true
    },
    {
        path: '/',
        component: Layout,
        redirect: '/dashboard',
        meta: { menusMode: 0, title: '首页', breadcrumb: false },
        children: [{
                path: 'dashboard',
                name: '项目管理',
                component: () =>
                    import ('@/views/dashboard/index'),
                meta: { menusMode: 0, title: '首页', breadcrumb: false },
                hidden: true,
            },
            {
                path: 'personal',
                component: Layout,
                name: '个人中心',
                meta: { title: '个人中心' },
                component: () =>
                    import ('@/views/personal/index'),
                hidden: true
            },
            {
                path: 'map',
                name: '地图',
                meta: { title: '地图' },
                component: () =>
                    import ('@/components/bigMap/index'),
                hidden: true
            },
            
        ],
        hidden: true
    },
    {
        path: '/dashuju',
        name: '大数据',
        meta: { title: '大数据' },
        component: () =>
            import ('@/components/dashuju/index'),
        hidden: true
    },
    {
        path: '/mainIndex',
        component: () =>
            import ('@/views/mainIndex'),
        hidden: true
    },
    {
        path: '/404',
        name: '404页面',
        component: () =>
            import ('@/views/404'),
        hidden: true
    }
]
export default router